# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: eric <eric@archlinux.org>
# Contributor: Markus Meissner <markus@meissna.de>

pkgname=bchunk
pkgver=1.2.0
pkgrel=3
pkgdesc="A Tool to Convert *.raw *.bin files to an ISO file"
url="http://hes.iki.fi/bchunk/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('glibc')
source=(http://hes.iki.fi/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('6a613da3f34f9a303f202d2e9731d231')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}

  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}

  mkdir -p ${pkgdir}/usr/bin ${pkgdir}/usr/share/man/man1

  make PREFIX=${pkgdir}/usr MAN_DIR=${pkgdir}/usr/share/man install
  chown root.root ${pkgdir}/usr/share/man/man1/bchunk.1
}
# vim: ts=2 sw=2 et ft=sh
